package com.testplatfrom.autoapi.domain.dto.tree;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import javax.validation.constraints.NotEmpty;

@Data
@EqualsAndHashCode(callSuper = false)
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("新增树型结构")
public class TestplatfromTreeUpdate {


    /**
     * 树型主键id
     */
    @NotEmpty(message = "名称不能为空")
    @ApiModelProperty("id")
    private String id;
    /**
     * 名称
     */
    @NotEmpty(message = "名称不能为空")
    @ApiModelProperty("名称")
    private String treeName;



}
